<template>
  <div>
    <el-tabs v-model="activeName" @tab-click="tabchange">
      <el-tab-pane name="base">
        <span slot="label">
          <i class="icon-jibenxinxi-xiugai">&nbsp;</i>基本信息</span>
      </el-tab-pane>
      <el-tab-pane name="previoushis">
        <span slot="label">
          <i class="icon-icon-p_lishibaobiao">&nbsp;</i>既往史</span>
      </el-tab-pane>
    </el-tabs>
    <router-view class="khgl_content"></router-view>
  </div>
</template>

<script>
export default {
  name: 'khgl',

  data() {
    return {
      activeName: 'main'
    }
  },
  created() {
    this.$router.push({
      path: `/cust/header`,
      query: this.$route.query
    })
  },
  mounted() {},
  methods: {
    breaks() {},
    tabchange(tab, event) {
      this.$router.push({
        path: `/cust/header/main/${tab.name}`,
        query: this.$route.query,
        replace: true
      })
    }
  },
  computed: {},
  props: []
}
</script>

<style lang="scss" scoped>
</style>
